package com.itheima.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * boot mvc快速开发
 * @Author: hsp
 * @Date: 2022/12/9-12-09-16:46
 * @Description: com.itheima.controller
 * @version: 1.0.0
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    @ResponseBody
    public String hello (){
        return "hello world";
    }

}
